net/http.http2pipe.CloseWithError (method)
9 uses
net/http (current package)
h2_bundle.go#L3791: func (p *http2pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
h2_bundle.go#L5477: p.CloseWithError(err)
h2_bundle.go#L5634: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
h2_bundle.go#L5702: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
h2_bundle.go#L5706: st.body.CloseWithError(io.EOF)
h2_bundle.go#L5727: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
h2_bundle.go#L8663: cs.bufPipe.CloseWithError(err) // no-op if already closed
h2_bundle.go#L8668: cs.bufPipe.CloseWithError(http2errRequestCanceled)
h2_bundle.go#L10000: cs.bufPipe.CloseWithError(serr)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |